package com.rongxue.service;


import com.rongxue.pojo.*;

import java.util.List;
import java.util.Map;

/**
 * Created by yangweijian on 2018/1/15.
 */
public interface SuserService {
    //注册
    ObjectResult insertToregist(XMLBean xmlBean);
    //登入
    ObjectResult selectToLogin(XMLBean xmlBean,SUser user);
    //修改密码
    ObjectResult forget_pwd(XMLBean xmlBean);
    //查询用户
    SUser selectUserByMap(Map<String,Object> map);
    //添加用户
    void insertUser(SUser sUser);
    //用户红包
    List<Rewards> selectRedpacketByUserId(String userId);
    //修改过期红包状态
    void  updateRedpacketByUserId(String userId);
    //用户加息券
    List<Rewards> selectInterestcouponByUserId(String userId);
    //修改过期加息券状态
    void updateInterestcouponByUserId(String userId);
    //用户现金券
    List<Rewards> selectCashcouponByUserId(String userId);
    //修改过期现金券状态
    void updateCashcouponByUserId(String userId);
    //融雪币兑换加息劵
    ObjectResult insertGold_conversion(XMLBean xmlBean);
    //融雪币兑换记录
    List<SuserRxgoldDetail> selectUserRxgoldDetailByUserId(String userId);
    //签到
     ObjectResult insertToSing_in(XMLBean xmlBean);
    //签到列表
    ObjectResult selectToSing_list(XMLBean xmlBean);
    //积分抽奖
    ObjectResult insertLotteRule(XMLBean xmlBean);
    //添加用户体验金
    ObjectResult insertExperience(XMLBean xmlBean);

    ObjectResult selectExperienceByUserId(XMLBean xmlBean);

    ObjectResult back(XMLBean xmlBean);

}